<template>
	<view class="modify-page">
		<!-- 头部 -->
		<c-layout>
			<c-navigation-bar :title="$t('storeManagement.setUp')" :navType='search.navType' :bottomBorder='false' :navPlaceholder='search.navPlaceholder'
					:navThmen='search.navThmen' @backEvent='backClick' @focusEvent='focusEvent' @switchSvgEvent='switchSvgEvent'>
				</c-navigation-bar>
				<view class="setting">
			
				
					<!-- 机器人设置 -->
					<!-- <view class="settingAside">
						<view class="" >
							{{$t('storeManagement.RobotSettings')}}
						</view>
						<view class="">
								<u-icon name="arrow-rightward" size="32" color="#2934D0"></u-icon>
						</view>
					</view> -->
					<!-- 店铺保证金 -->
					<view class="settingAside" @click="toStoreDeposit">
						<view class="" >
							{{$t('storeManagement.storeDeposit')}}
						</view>
						<view class="">
								<u-icon name="arrow-rightward" size="32" color="#2934D0"></u-icon>
						</view>
					</view>
					<!-- 商城账号信息设置 -->
					<view class="settingAside" @click="toSet">
						<view class="">
								{{$t('storeManagement.StoreInformationManagement')}}
						</view>
						<view class="">
						<u-icon name="arrow-rightward" size="32" color="#2934D0"></u-icon>
						</view>
					</view>
				</view>
		
		</c-layout>
		
	</view>



	</view>
</template>

<script>
	export default {
		data() {
			return {
				//搜索
				search: {
					navThmen: 'line',
					navPlaceholder: 'Donate for',
					navType: 'navBackTitle',
				},

				

			
			}
		},
		onLoad() {
			// this.user = this.$store.state.vuex_user_info

		},
		watch: {
		
			
		},
		methods: {
	
		
	
	
			toSet(){
				uni.navigateTo({
					url: '/pages/storyType/storeManagement/storeInformation',
					"animationType": "slide-in-right",
					"animationDuration": 300
				})
			},	
				toStoreDeposit(){
				uni.navigateTo({
				url: '/pages/storyType/storeManagement/storedeposit',
					"animationType": "slide-in-right",
					"animationDuration": 300
				})
			},
			backClick(){
				uni.navigateTo({
					url: '/pages/storyType/storeManagement',
					"animationType": "slide-in-right",
					"animationDuration": 300
				})
				
			},
		},

		// 必须要在onReady生命周期，因为onLoad生命周期组件可能尚未创建完毕
		onReady() {




		}
	}
</script>

<style lang="scss" scoped>
	.modify-page {
		height: 100vh;

		.setting {
			padding-top: 38rpx;


		}

		.settingAside {
			height: 100rpx;
			background: #FFFFFF;
			border-radius: 16rpx 16rpx 16rpx 16rpx;
			opacity: 1;
			border: 2rpx solid #E1E8E8;
			margin: 0 40rpx 40rpx 28rpx;
			display: flex;
			align-items: center;
			font-size: 24rpx;
			justify-content: space-between;
			padding: 0 26rpx;
		}

		.popTitle {
			font-size: 32rpx;
			font-family: SFUIDisplay-Medium-Regular, SFUIDisplay-Medium;
			font-weight: 400;
			color: #000000;
			margin: 40rpx 0;
		}
	}
</style>
